.PHONY:ALL
ALL:server client

client:client.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp -lpthread

server:server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f server client
